package com.yuexun.dhdoctor.module.survey.model;


import com.yuexun.dhdoctor.base.BaseEntity;
import com.yuexun.dhdoctor.module.survey.bean.StartSurveyBean;
import com.yuexun.dhdoctor.module.survey.bean.SurveyAnswerDtlBean;
import com.yuexun.dhdoctor.module.survey.bean.SurveyDateBean;
import com.yuexun.dhdoctor.module.survey.bean.SurveyDtlBean;
import com.yuexun.dhdoctor.module.survey.bean.SurveyTypeBean;

import java.util.Map;

import rx.Observable;

/**
 * Created by wangt on 2017/8/22.
 */

public interface ISurveyModel {
    //查询模板类型列表
    public Observable<BaseEntity<SurveyTypeBean>> getSurveyTypeList(Map<String, String> praise);
    //查询个人的院内调查分页列表
    public Observable<BaseEntity<SurveyDateBean>> getSurveyList(Map<String, String> praise);

    //新建测评考试答卷(开始考试)
    public Observable<BaseEntity<StartSurveyBean>> startSurvey(Map<String, String> praise);
    //题库详情
    public Observable<BaseEntity<SurveyDtlBean>> getSurveyDtl(Map<String, String> praise);
    //答卷人员详情
    public Observable<BaseEntity<SurveyAnswerDtlBean>> getSurveyAnswerDtl(Map<String, String> praise);

    //更新院内调查内容
    public Observable<BaseEntity<String>> updateSurveyAnswer(Map<String, String> praise);
}
